/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.wii.elpro.dao;

import com.wii.elpro.entity.Spdcf;
import com.wii.elpro.entity.User;
import java.util.List;

/**
 *
 * @author hendro
 */
public interface SpdcfDAOInterface extends DAOGeneric{
    public Spdcf getSpdcf(long id)throws Exception;
    public List<Spdcf> getSpdcf()throws Exception;
    public List<Spdcf> getSpdcfBySales(User sales)throws Exception;
    public List<Spdcf> getSpdcfThatConfirmByProduksiAndNotYetConfirmByFinance(User sales)throws Exception;
    public List<Spdcf> getSpdcfThatNotYetConfirmByProduksi(User sales,int confirm)throws Exception;
    public List<Spdcf> getSpdcfThatConfirmBoth(User sales)throws Exception;
}
